﻿using System;
using netCoreStudy.Attr.QueryAttr;

namespace netCoreStudy.Entities.Base
{
	public class BaseEntity
	{

		/// <summary>
		/// id主键
		/// </summary>
		public long Id { get; set; }

		/// <summary>
		/// 创建时间 时间戳
		/// </summary>
		public long CreateTime { get; set; } =
			(long) DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1)).TotalMilliseconds;
        /// <summary>
        /// 伪删除
        /// </summary>
        public bool IsRemoved { get; set; } = false;
		
	}
}